package com.east.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.east.bean.UserRole;
import com.east.utils.BaseMapper;

public interface UserRoleMapper extends BaseMapper<UserRole> {
	/**
	 * 根据用户删除全部角色
	 * @param uid
	 * @return
	 */
	int delUserRoleId(@Param("uid") Integer uid);
	/**
	 * 增加角色
	 * @param list
	 * @return
	 */
	int insertUserRole(List<UserRole> list);
	
}